package com.yuanfengPlus.basicInfoManage.supplierInfo.dao;

import com.github.pagehelper.Page;
import com.yuanfengPlus.basicInfoManage.supplierInfo.model.Supplierinfo;
import com.yuanfengPlus.basicInfoManage.supplierInfo.model.SupplierinfoDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

@Mapper
public interface ISupplierinfoDao {

    Page<Supplierinfo> selectSupplierAll(SupplierinfoDTO supplierinfoDTO);

    Integer addSupplier(Supplierinfo supplierinfo);

    Integer updateSupplier(Supplierinfo supplierinfo);

    Supplierinfo selectSupplier(@Param("supplier_id") String supplier_id);
}
